/**
 * 查询对象类型
 */
export interface WorkPaperQuery extends PageQuery {
  title?: string;
  type?: number;
  is_hid?: number;
  is_read?: number;
  review_id?: string;
  query_type?: number;
  receipt_user_id?: number;
  time?: [];
}

/**
 * 分页对象
 */
export interface WorkPaperPage {
  id?: number;
  current_content?: string;
  next_content?: string;
  remark?: string;
  type?: number;
  is_hid?: number;
  sort?: number;
  author?: string;
  users?: string;
  created_at?: Date;
  nickname?: string;
  org_name?: string;
  type_name?: string;
}

export interface ReceiptForm {
  id?: number;
  reply_content?: string;
  is_read?: number;
}

export interface ReceiptUser {
  id?: number;
  avatar?: string;
  nickname?: string;
  org_name?: string;
}

/**
 * 表单类型
 */
export interface WorkPaperForm {
  id?: number;
  current_content?: string;
  next_content?: string;
  remark?: string;
  type?: number;
  sort?: number;
  is_hid?: number;
  user_id?: [];
}

export interface WorkPaperInfo {
  id?: number;
  current_content?: string;
  next_content?: string;
  remark?: string;
  type?: number;
  sort?: number;
  is_hid?: number;
  org_name?: string;
  nickname?: string;
  avatar?: string;
  type_name?: string;
  users?: [];
  read_users?: [];
  is_owner?: number;
  user_id?: [];
  created_at?: Date;
  receipt?: string;
  is_read?: number;
}
